package com.authstr.login.service.impl;

import com.authstr.login.service.inter.LoginService;
import com.authstr.auth.service.inter.MenuService;
import com.authstr.auth.service.inter.UserService;
import com.authstr.basic.reqres.request.RequestPara;
import com.authstr.model.base.BaseUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.lang.Nullable;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {


    @Autowired
    UserService userService;

    @Autowired
    MenuService menuService;

    @Override
    public String register(@Nullable BaseUser model){
        userService.register(model,new RequestPara());
        return "注册成功";
    }


}
